package org.timeismoney.payment.dao;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import org.timeismoney.payment.model.PaymentRecord;

public interface PaymentRecordDao extends GenericDao<PaymentRecord, Integer>{

	void batchInsertRecords(List<PaymentRecord> paymentRecords);

	void batchUpdateRecords(String paymentRecordNo, Date now);

	BigDecimal getTotalPaySuccessByStuNoAndYearNo(String stuNo, Integer yearNo);

	void deleteByStuNo(String stuNo);

	void deleteByItemPaymentNo(int itemPaymentNo);

	void deleteBySchoolYearNo(Integer schoolYearNo);

	void deleteByItemNo(Integer itemNo);

}
